package com.zmj.sy.mom.srv.aps.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

//@FeignClient(url = "${project.feign.wms-url}", name = "wmsFeignApiClient")
@FeignClient(name = "erp-wms")
public interface WmsFeignApiClient {

    @PostMapping("/out/palletOperation/getPositionByTrayId")
    Map<String, Object> getPositionByTrayId(@RequestParam("palletNumber") String palletNumber);

}
